﻿@using Mvc3App.Dominio
@model Mvc3App.Dominio.Socio
@{
    ViewBag.Title = "Edicion";
}
<style type="text/css">
    body
    {
        padding-top: 60px;
        padding-bottom: 40px;
    }
    .bgcolor
    {
        background-color: none;
    }
    .lightblue
    {
        background-color: none;
    }
    .form-horizontal .control-label
    {
        width: 70px;
    }
    .form-horizontal .controls
    {
        margin-left: 90px;
    }
</style>
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
<h2>
    Edicion</h2>
@Html.ValidationSummary(false, "", new { @class = "alert alert-error" })
<div class="container-fluid">
    @using (Html.BeginForm("Edit", "Socio", FormMethod.Post, new { @class = "form-horizontal" }))
    {
        @Html.Partial("_DatosSocio", Model)
        <div class="form-actions">
            <button type="submit" class="btn btn-success">
                Guardar</button>
            <a href="@Url.Action("Index", "Socio")" class="btn btn-danger">Cancelar</a>
        </div>
    }
</div>
